/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.yunhoo.pay.bean;

import com.yunhoo.pay.db.impl.VoucherPubImpl;
import com.yunhoo.pay.model.ReportModel1;
import java.util.List;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;

/**
 *
 * @author shellcc
 */
@ManagedBean(name = "reportBean")
@ViewScoped
public class ReportBean {

    private List<ReportModel1> report1 = null;

    public void query() {
        report1 = VoucherPubImpl.queryTotal1(null);
    }

    public List<ReportModel1> getReport1() {
        return report1;
    }

    public void setReport1(List<ReportModel1> report1) {
        this.report1 = report1;
    }
}
